package com.lv.LvTourismOrderCustomer.dao;
import com.aqgj.util.BaseDaoImpl;
import com.lv.LvTourismOrderCustomer.bean.LvTourismOrderCustomer;
import org.springframework.stereotype.Repository;
/**
 * <p>
 *
 * </p>
 *
 * @ClassName LvTourismOrderCustomerDao
 * @JDK 1.5
 * @author
 * @date
 */
@Repository("LvTourismOrderCustomerDao")
public class LvTourismOrderCustomerDao extends BaseDaoImpl<LvTourismOrderCustomer> {
    /**
     * 修改
     * @param lvTourismOrderCustomer 旅游订单顾客对象
     * @return
     */
    public String update(LvTourismOrderCustomer lvTourismOrderCustomer) {
        this.getHibernateTemplate().saveOrUpdate(lvTourismOrderCustomer);
        if (lvTourismOrderCustomer.getId() != null) {
            return "1";
        }
        return "0";
    }
}